package cn.liu.hrm.mapper;

import cn.liu.hrm.domain.Tenant;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Mr.liu
 * @since 2020-03-26
 */
public interface TenantMapper extends BaseMapper<Tenant> {

    //保存机构和套餐的关系
    void insertRelationWithMeal(@Param("mealId") Long mealId,
                                @Param("tenantId") Long tenantId,
                                @Param("state") int state);
}
